package io.github.talelin.latticy.dto.feign;

import io.github.talelin.latticy.dto.query.BasePageDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @authoer:wulongbo
 * @createDate:2022/5/28
 * @description:
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class QueryUsersByIdsDTO extends BasePageDTO {

    private List<Integer> userIds;

    public QueryUsersByIdsDTO(BasePageDTO dto, List<Integer> userIds) {
        this.setCount(dto.getCount());
        this.setPage(dto.getPage());
        this.userIds = userIds;
    }
}
